package o;

import android.annotation.TargetApi;
import android.media.AudioAttributes;
import android.media.AudioAttributes.Builder;
import androidx.annotation.Nullable;

public final class aby {
    public static final aby ˏ = new b().ॱ();
    @Nullable
    private AudioAttributes ˊ;
    public final int ˋ;
    public final int ˎ;
    public final int ॱ;

    public static final class b {
        private int ˋ = 0;
        private int ˏ = 0;
        private int ॱ = 1;

        public aby ॱ() {
            return new aby(this.ˋ, this.ˏ, this.ॱ);
        }
    }

    private aby(int i, int i2, int i3) {
        this.ॱ = i;
        this.ˎ = i2;
        this.ˋ = i3;
    }

    @TargetApi(21)
    public AudioAttributes ˏ() {
        if (this.ˊ == null) {
            this.ˊ = new Builder().setContentType(this.ॱ).setFlags(this.ˎ).setUsage(this.ˋ).build();
        }
        return this.ˊ;
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        aby o_aby = (aby) obj;
        if (this.ॱ == o_aby.ॱ && this.ˎ == o_aby.ˎ && this.ˋ == o_aby.ˋ) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        return ((((this.ॱ + 527) * 31) + this.ˎ) * 31) + this.ˋ;
    }
}
